package com.xuelang.pipeline.client.resource;

import com.xuelang.pipeline.client.common.constant.DictDTO;
import com.xuelang.pipeline.client.common.result.ApiResult;
import com.xuelang.pipeline.client.resource.dto.GitOperationDTO;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import jakarta.validation.Valid;
import java.util.List;

/**
 * @author liuyuan.ly
 * @since 2024/6/14 10:31
 */

public interface IGitOperationService {


    @PostMapping(value = "/remote/branch/list/dict", produces = "application/json;charset=utf-8")
    ApiResult<List<DictDTO>> getRemoteBranchListDict(@RequestBody @Valid GitOperationDTO operationDTO);
}
